<?php
namespace Transform;

class PaymentLogTransform extends Transform
{

    public function listview()
    {
        return [
            'allows' => ['id', 'uid', 'channel', 'amount', 'create_time', 'payment_no', 'remark'],
            'channel' => [
                'replaces' => [
                    'ali_app' => '支付宝',
                    'ali_web' => '支付宝',
                    'ali_wap' => '支付宝',
                    'wx_app' => '微信',
                    'wx_qr' => '微信',
                    'wx_pub' => '微信',
                ],
            ]
        ];
    }



}
